Add rule method