Write rules (40/48)

Write rules