modify equations, style and add rules