added rules specification