[ticket/12723] Add two rulesets only for the core

PHPBB3-12723