A Uniform Treatment of Aggregates and Constraints in Hybrid ASP