escape @ in rules, phpdoc fix